/**
 * 作者: wgx
 * 日期: 2024-11-26 16:55:57
 * 备注: 商店
 */
package com.motu.monstercity.server.game.commondata.shop;
import com.motu.monstercity.server.game.base.CommonUtils;
import com.motu.monstercity.server.game.logic.BagManager;
import com.motu.monstercity.server.game.logic.RewardItem;
import com.motu.monstercity.server.game.logic.RewardManager;
import com.motu.vertx.module.utility.toolset.Tool;
import io.vertx.core.json.JsonObject;

import java.util.ArrayList;
import java.util.List;

public class Shop extends ShopModel {
    private List<RewardItem> priceItemList = null;

    public Shop(JsonObject obj) {
        super(obj);
        priceItemList = Tool.isEmpty(price) ? new ArrayList<>() : CommonUtils.takeReawrdItemFromStr(price);
    }

    public List<RewardItem> getPriceItemList() {
        return priceItemList;
    }
}
